@extends('layouts.accounts')
@section('content')
    @include('web.accounts.header')
  <link rel="stylesheet" type="text/css" href="css/app.css"/>
	<style>
		#form-input .fc-inline{display: block;margin-bottom: 20px;}
		#form-input .fc-inline strong{display: inline-block;width: 6%;*display: inline;*zoom: 1;}
		#form-input .fc-inline input[type=text]{width: 26%;height: 24px;line-height: 24px;}
		#select-box strong{display: inline-block;width: 3%;*display: inline;*zoom: 1;}
    #select-box strong+strong{text-align: center;}
		#select-box select{width: 10%;padding: 7px 4px;}
	</style>
    <i class="i_mng_side_bg"></i>
    <div id="manage_wrap" class="clearfix">
        @include('web.accounts.siderbar')
    <div class="manage_wrap">



        <div class="s_cert_wrap">

        <form method="post" action="" class="det-form det-wrap j_ajax" id="userForm"  novalidate="novalidate">
		<div id="formError" class="s_tip"></div>
			{{ csrf_field() }}
		<div id="form-input">
			<label class="fc-inline">
				<strong>真实姓名：</strong>
				<input placeholder="请输入姓名" class="fc" type="text" name="realname" value="{{$realname}}">
        @if ($errors->has('realname'))
            <span class="help-block">
                <strong style="color:red;">{{ $errors->first('realname') }}</strong>
            </span>
        @endif
			</label>
			<label class="fc-inline">
				<strong>身份证： </strong>
				<input placeholder="请输入身份证" class="fc" type="text" name="cidnum" value="{{$cidnum}}">
			</label>
			<label class="fc-inline">
				<strong>QQ：</strong>
				<input placeholder="请输入QQ" class="fc" min="5" type="text" name="qq" value="{{$qq}}">
			</label>
			<label id="select-box" class="fc-inline">
				<strong>省： </strong>
				<select placeholder="请选择省" id="province" class="fc" name="province" onchange="getCity()">
          <option value= 0 >北京</option>
          <option value= 1 >上海</option>
          <option value= 2 >天津</option>
          <option value= 3 >重庆</option>
          <option value= 4 >河北</option>
          <option value= 5 >山西</option>
          <option value= 6 >内蒙古</option>
          <option value= 7 >辽宁</option>
          <option value= 8 >吉林</option>
          <option value= 9 >黑龙江</option>
          <option value= 10 >江苏</option>
          <option value= 11 >浙江</option>
          <option value= 12 >安徽</option>
          <option value= 13 >福建</option>
          <option value= 14 >江西</option>
          <option value= 15 >山东</option>
          <option value= 16 >河南</option>
          <option value= 17 >湖北</option>
          <option value= 18 >湖南</option>
          <option value= 19 >广东</option>
          <option value= 20 >广西</option>
          <option value= 21 >海南</option>
          <option value= 22 >四川</option>
          <option value= 23 >贵州</option>
          <option value= 24 >云南</option>
          <option value= 25 >西藏</option>
          <option value= 26 >陕西</option>
          <option value= 27 >甘肃</option>
          <option value= 28 >宁夏</option>
          <option value= 29 >青海</option>
          <option value= 30 >新疆</option>
          <option value= 31 >香港</option>
          <option value= 32 >澳门</option>
          <option value= 33 >台湾</option>
				</select>
        <strong style="text-align:center;">市：</strong>
				<select placeholder="请选择市" id="city" class="fc" name="city">

				</select>
      </label>
			<label class="fc-inline">
				<strong>地址：</strong>
				<input placeholder="请输入地址" class="fc" name="address" type="text" value="{{$address}}">
			</label>
		</div>
		<label style="width:32%;" class="db mb10 tac fs12">
			<input name="accept_email" type="checkbox" value="true"> 接收产品最新动态及营销信息（不含重要通知）
		</label>
		<div style="width:32%;" class="tac">
			<button  type="submit" class="bt bt_block">修改</button>
		</div>
    </form>

        </div>
    </div>



</div>
<script src="{{ asset('js/jquery-1.11.3.min.js') }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ asset('js/sheng-shi.js') }}" type="text/javascript" charset="utf-8"></script>
@endsection
